import React from 'react';
import {increment,decrement,incrementAsync} from '../redux/action'
import {connect} from 'react-redux'
import Counter from '../components/counter'

export default connect(
    // count 名字和Class类中声明的Prop名称一致
    state=>({count:state}),
    {increment,decrement,incrementAsync}
  )(Counter);
  